<template>
    <div>
        <div v-html="formHtml"></div>
    </div>
</template>

<script setup>
import { onMounted, ref } from 'vue';
const formHtml = ref(history.state.url);
// console.log(route.params.formHtml)
onMounted(() => {
    const form = document.querySelector('form');
    if (form) {
        form.submit();
    }
});
</script>

<style scoped>
/* 添加一些样式以确保页面看起来不错 */
</style>